package com.fpx.order.plat.bussiness.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * desc: 订单表实体类
 * @author xiangtao(xiangtao@4px.com)
 * @date 2015年12月2日 上午9:44:06
 * @version 1.0
 */
public class OriginOrder implements Serializable {
	
	private static final long serialVersionUID = -5955826876702924403L;
	/**
	 * 平台订单主键(取序列SEQ_PFOO_ID)
	 */
	private Integer pfoo_id;
	/**
	 * 平台订单号
	 */
	private String order_code;
	/**
	 * 参考号(一般由客户定义的号码)
	 */
	private String ref_code; 
	/**
	 * 发货订单号(一般指第三方物流公司，这里指OMS系统订单号)
	 */
	private String ship_order_code;
	/**
	 * 服务商跟踪号(指最终派送服务商，指DHL、FEDEX、USPS等)
	 */
	private String ship_server_code;
	/**
	 * 平台销售号(ebay)
	 */
	private String sales_number;
	/**
	 * 客户ID
	 */
	private String customer_id;
	/**
	 * 客户名下的店铺账号
	 */
	private String shop_account;
	/**
	 * 第三方物流商发货仓库代码
	 */
	private String wh_code;
	/**
	 * 第三方物流商派送方式代码
	 */
	private String pk_code;
	/**
	 * 平台物流方式
	 */
	private String shipping_service;
	
	/**
	 * 运输成本
	 */
	private String shipping_service_cost;
	/**
	 * 平台类型(ebay、亚马逊、速卖通等)
	 */
	private String platform_code;
	/**
	 * 上传服务商跟踪号(N:未上传;U:上传中;Y:上传成功)
	 */
	private String upload_ship_code;
	/**
	 * 支付的总金额
	 */
	private String amount_paid;
	/**
	 * 平台订单状态
	 */
	private String pfo_os_code;
	/**
	 * 付款时间
	 */
	private Date payment_time;
	/**
	 * 交易站点
	 */
	private String transaction_site_id;
	/**
	 * PAYPAL交易号
	 */
	private String externaltransaction;
	/**
	 * 买家ID
	 */
	private String buyer_id;
	/**
	 * 买家EMAIL
	 */
	private String buyer_email;
	/**
	 * 付款方式
	 */
	private String payment_method;
	/**
	 * 卖家PAYPAL邮箱
	 */
	private String seller_paypal_email;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建时间
	 */
	private Date pfo_createdate;	
	/**
	 * 最后修改时间
	 */
	private Date pfo_modifydate;
	/**
	 * 订单收货地址信息
	 */
	private OriginOrderAddress orderAddress;
	/**
	 * 订单货品信息
	 */
	private List<OriginOrderitem> orderitems;
	
	public Integer getPfoo_id() {
		return pfoo_id;
	}
	public void setPfoo_id(Integer pfoo_id) {
		this.pfoo_id = pfoo_id;
	}
	public String getOrder_code() {
		return order_code;
	}
	public void setOrder_code(String order_code) {
		this.order_code = order_code;
	}
	public String getRef_code() {
		return ref_code;
	}
	public void setRef_code(String ref_code) {
		this.ref_code = ref_code;
	}
	public String getShip_order_code() {
		return ship_order_code;
	}
	public void setShip_order_code(String ship_order_code) {
		this.ship_order_code = ship_order_code;
	}
	public String getShip_server_code() {
		return ship_server_code;
	}
	public void setShip_server_code(String ship_server_code) {
		this.ship_server_code = ship_server_code;
	}
	public String getSales_number() {
		return sales_number;
	}
	public void setSales_number(String sales_number) {
		this.sales_number = sales_number;
	}
	public String getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(String customer_id) {
		this.customer_id = customer_id;
	}
	public String getShop_account() {
		return shop_account;
	}
	public void setShop_account(String shop_account) {
		this.shop_account = shop_account;
	}
	public String getWh_code() {
		return wh_code;
	}
	public void setWh_code(String wh_code) {
		this.wh_code = wh_code;
	}
	public String getPk_code() {
		return pk_code;
	}
	public void setPk_code(String pk_code) {
		this.pk_code = pk_code;
	}
	public String getShipping_service() {
		return shipping_service;
	}
	public void setShipping_service(String shipping_service) {
		this.shipping_service = shipping_service;
	}
	public String getShipping_service_cost() {
		return shipping_service_cost;
	}
	public void setShipping_service_cost(String shipping_service_cost) {
		this.shipping_service_cost = shipping_service_cost;
	}
	public String getPlatform_code() {
		return platform_code;
	}
	public void setPlatform_code(String platform_code) {
		this.platform_code = platform_code;
	}
	public String getUpload_ship_code() {
		return upload_ship_code;
	}
	public void setUpload_ship_code(String upload_ship_code) {
		this.upload_ship_code = upload_ship_code;
	}
	public String getAmount_paid() {
		return amount_paid;
	}
	public void setAmount_paid(String amount_paid) {
		this.amount_paid = amount_paid;
	}
	public String getPfo_os_code() {
		return pfo_os_code;
	}
	public void setPfo_os_code(String pfo_os_code) {
		this.pfo_os_code = pfo_os_code;
	}
	
	
	
	public String getTransaction_site_id() {
		return transaction_site_id;
	}
	public void setTransaction_site_id(String transaction_site_id) {
		this.transaction_site_id = transaction_site_id;
	}
	public String getExternaltransaction() {
		return externaltransaction;
	}
	public void setExternaltransaction(String externaltransaction) {
		this.externaltransaction = externaltransaction;
	}
	public String getBuyer_id() {
		return buyer_id;
	}
	public void setBuyer_id(String buyer_id) {
		this.buyer_id = buyer_id;
	}
	public String getBuyer_email() {
		return buyer_email;
	}
	public void setBuyer_email(String buyer_email) {
		this.buyer_email = buyer_email;
	}
	public String getPayment_method() {
		return payment_method;
	}
	public void setPayment_method(String payment_method) {
		this.payment_method = payment_method;
	}
	public String getSeller_paypal_email() {
		return seller_paypal_email;
	}
	public void setSeller_paypal_email(String seller_paypal_email) {
		this.seller_paypal_email = seller_paypal_email;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public OriginOrderAddress getOrderAddress() {
		return orderAddress;
	}
	public void setOrderAddress(OriginOrderAddress orderAddress) {
		this.orderAddress = orderAddress;
	}
	public Date getPayment_time() {
		return payment_time;
	}
	public void setPayment_time(Date payment_time) {
		this.payment_time = payment_time;
	}
	public Date getPfo_createdate() {
		return pfo_createdate;
	}
	public void setPfo_createdate(Date pfo_createdate) {
		this.pfo_createdate = pfo_createdate;
	}
	public Date getPfo_modifydate() {
		return pfo_modifydate;
	}
	public void setPfo_modifydate(Date pfo_modifydate) {
		this.pfo_modifydate = pfo_modifydate;
	}
	public List<OriginOrderitem> getOrderitems() {
		return orderitems;
	}
	public void setOrderitems(List<OriginOrderitem> orderitems) {
		this.orderitems = orderitems;
	}
	
	
}
